<%@ page language="java" import="java.util.*,com.ncp.model.biz.news.*" pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("UTF-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="pages/fckeditor/fckeditor.js"></script>
  </head>
  
  <body>
    <form action="NewsAdd?type=News" method="post" enctype="multipart/form-data">
		标题：<input type="text" name="title"/><br/>
		展示图片：<input type="file" name="picture" /><br/>
		内容:<script type="text/javascript">
				var oFCKeditor = new FCKeditor('cont');
				http://localhost:8080/fckeditor
				oFCKeditor.BasePath = "/NCP/pages/fckeditor/";
				oFCKeditor.Width="70%";
				oFCKeditor.Height="500";
				oFCKeditor.Value="编辑您的内容…";
				oFCKeditor.ToolbarSet="ncp";
				oFCKeditor.Config["CustomConfigurationsPath"] = "/NCP/pages/fckeditor/myconfig.js"
				oFCKeditor.Create();
			 </script><br/>
		<input type="submit" value="确定"/>
	</form>
  </body>
</html>
